@model FormInputProject.Models.Point

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Point</legend>

    <div class="display-label">PointName</div>
    <div class="display-field">@Model.PointName</div>

    <div class="display-label">PointDescription</div>
    <div class="display-field">@Model.PointDescription</div>

    <div class="display-label">Formula</div>
    <div class="display-field">@Model.Formula</div>

    <div class="display-label">CalculatePoint</div>
    <div class="display-field">@Model.CalculatePoint</div>

    <div class="display-label">Unit</div>
    <div class="display-field">@Model.Unit</div>

    <div class="display-label">Created</div>
    <div class="display-field">@String.Format("{0:g}", Model.Created)</div>

    <div class="display-label">Creator</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.Creator).ToString()</div>

    <div class="display-label">Modified</div>
    <div class="display-field">@String.Format("{0:g}", Model.Modified)</div>

    <div class="display-label">ModifiedBy</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.ModifiedBy).ToString()</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.PointId }) |
    @Html.ActionLink("Back to List", "Index")
</p>


